package org.ourguy.mymoviesandshows.broadcastreceivers;

import org.ourguy.mymoviesandshows.EpisodeActivity;
import org.ourguy.mymoviesandshows.managers.ReminderManager;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class AlarmBroadcastReceiver extends BroadcastReceiver {
	
	public static final String CUSTOM_INTENT = "org.ourguy.mymoviesandshows.broadcastreceivers.ALARM";

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.i("AlarmBroadcast", "Alarm broadcast received");
		intent.setClass(context, EpisodeActivity.class);
		ReminderManager.addReminderFor(intent, context);
	}

}
